package 继承作业;

import 多态性.Cat;

public class StudentTest {
    public static void main(String[] args) {
        Person person = new Student();
        person.setDopt(new Student());

        Student person1 = (Student) person;
        person1.call();
        person1.playGame();

    }
}
